package com.pingan.haofang.searchcloud.index.dto;

import com.pingan.haofang.searchcloud.metadata.dto.MetadataFieldQueryResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 索引字段查询结果
 *
 * @author baojie371
 * @date 17/5/4
 * @since 1.0.0
 */
@ApiModel(description = "索引信息查询结果")
public class IndexInfoQueryResult {

    @ApiModelProperty("索引基本信息")
    private IndexQueryResult basicInfo;

    @ApiModelProperty("索引字段")
    private List<MetadataFieldQueryResult> fields;

    public IndexQueryResult getBasicInfo() {
        return basicInfo;
    }

    public void setBasicInfo(IndexQueryResult basicInfo) {
        this.basicInfo = basicInfo;
    }

    public List<MetadataFieldQueryResult> getFields() {
        return fields;
    }

    public void setFields(List<MetadataFieldQueryResult> fields) {
        this.fields = fields;
    }
}
